﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <meta charset="utf-8" />
    <title></title>
    <script src="bDMapAPI.js"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=711e9064953268e700928acff42c7a8f"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/getscript?v=2.0&amp;ak=711e9064953268e700928acff42c7a8f&amp;services=&amp;t=20180529182003"></script>
    <script src="jquery-1.7.1.min.js"></script>
    <script type="text/javascript">
        $(function () {
            var filter = $("#hidFilter").val();
            if (filter == 1) {
                getBDMap("113.925752,22.494479", "当前位置是", "baiduMap");
            } else if (filter == 2) {
                getBDMap("113.925752,22.494479", "当前位置是", "baiduMap", { mapType: BMAP_PERSPECTIVE_MAP }, "深圳");
            } else if (filter == 3) {
                getBDMap("113.925752,22.494479", "当前位置是", "baiduMap", { mapType: BMAP_HYBRID_MAP });
            } else if (filter == 4) {
                getBDMapAll("113.925752,22.494479", "baiduMap");
            } else {
                getBDMap("113.925752,22.494479", "当前位置是", "baiduMap");
            }

        });
    </script>
</head>
<body>


    <input type="hidden" id="hidFilter" value="1" />
    <div id="baiduMap"></div>


</body>
</html>